/*
 * Copyright (c) 2015 www.smarthome.com All rights reserved.
 * 本软件源代码版权归----所有,未经许可不得任意复制与传播.
 */
package com.smarthome.domain.bean;

import java.beans.Transient;
import java.util.Date;

import com.smarthome.domain.bean.base.BaseDomain;

/**
 * shAccountFeature
 * @author KongXiangyu
 * @since 2015-09-07
 */
public class ShAccountFeature extends BaseDomain {
	private static final long serialVersionUID = 1L;
	private Long parentId;
	private String name;
	private Date gmtCreate;
	private Date gmtModify;
	private String remark;
	private Integer active;
	/**附加属性*/
	private ShAccountFeature parentFeature;
	public ShAccountFeature(){
		//默认无参构造方法
	}

	/**
	 * 获取 parentId
	 * @return
	 */
	public Long getParentId(){
		return parentId;
	}
	
	/**
	 * 设置 parentId
	 * @param parentId
	 */
	public void setParentId(Long parentId){
		this.parentId = parentId;
	}

	/**
	 * 获取 name
	 * @return
	 */
	public String getName(){
		return name;
	}
	
	/**
	 * 设置 name
	 * @param name
	 */
	public void setName(String name){
		this.name = name;
	}

	/**
	 * 获取 gmtCreate
	 * @return
	 */
	public Date getGmtCreate(){
		return gmtCreate;
	}
	
	/**
	 * 设置 gmtCreate
	 * @param gmtCreate
	 */
	public void setGmtCreate(Date gmtCreate){
		this.gmtCreate = gmtCreate;
	}

	/**
	 * 获取 gmtModify
	 * @return
	 */
	public Date getGmtModify(){
		return gmtModify;
	}
	
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * 设置 gmtModify
	 * @param gmtModify
	 */
	public void setGmtModify(Date gmtModify){
		this.gmtModify = gmtModify;
	}
	
	//设置删除状态
	public Integer getActive() {
		return active;
	}

	public void setActive(Integer active) {
		this.active = active;
	}

	@Transient
	public ShAccountFeature getParentFeature() {
		return parentFeature;
	}

	public void setParentFeature(ShAccountFeature parentFeature) {
		this.parentFeature = parentFeature;
	}
}